import Mock from "mockjs"
const service = Mock.mock("/api/applicant/service-test","get", {
        "code": 0,
        "msg": "success",
        "data": [
            {
                "serviceId": 1,
                "serviceName": "Test Service",
                "serviceIcon": "@/assets/Relevant/pos_custom0.png",
                "activeIcon":'@/assets/Relevant/pos_checked0.png',
                "serviceVersion": 1,
                "servicePath": "/Test/V1",
                "status": 1,
                "reopenDate": null,
                "passDate": null,
                "score": null,
                "positions": [
                    {
                        "positionId": 1,
                        "positionName": "Test Position",
                        "positionIcon": "http://localhost:8081/UploadedFiles/timg637087790844301016.jpg",
                        "activeIcon": "http://localhost:8081/UploadedFiles/timg.jpg",
                        "iconText": "PostMaster",
                        "positionDescription": "Test a position"
                    }
                ]
            }
        ]
})

const apply = Mock.mock('api/applicant/apply','post',{
        "code": 0,
        "msg": "success",
    }
)

const test = Mock.mock('api/test','post',{
    "code": 0,
    "msg": "success",
})

export default {service,apply}